package com.one.shopping.entity;

import java.io.Serializable;

/**
 * 会员卡实体类
 * @author 柯尊诚
 * @version 1.0
 * @date 创建时间：2016/1/9 10:01
 */
public class Member implements Serializable {

    private int cardId;     //会员卡ID
    private String userName;    //会员姓名
    private String phone;       //会员电话
    private String score;   //会员积分
    private String money;   //会员余额

    public Member() {
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Member{" +
                "cardId=" + cardId +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", score='" + score + '\'' +
                ", money='" + money + '\'' +
                '}';
    }
}
